package hd.util.adapter.pager;

import android.support.v4.view.ViewPager;
import android.view.View;

import java.util.List;

import hd.util.adapter.pager.BasePagerAdapter;

/**
 * PagerAdapter
 * <p/>
 * Created by Haidy on 15/3/9.
 */
public class PagerAdapter extends BasePagerAdapter implements ViewPager.OnPageChangeListener {

    public PagerAdapter(ViewPager viewPager, List<View> viewList) {
        super(viewList);
        viewPager.setAdapter(this);
        viewPager.setOnPageChangeListener(this);
    }


    @Override
    public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
    }

    @Override
    public void onPageSelected(int position) {

    }

    @Override
    public void onPageScrollStateChanged(int state) {

    }
}
